<template>
  <div class="interest-act">
    <slot name="act-img"></slot>
    <div style="margin: 0;text-align: center">
      <div class="act-text">
        <slot name="act-name" class="act-name"></slot>
        <slot name="time-lie" class="time-lie"></slot>
      </div>
      <div class="act-type">
        <slot name="type" class="type"></slot>
        <slot name="act-peo" class="act-peo"></slot>
      </div>
    </div>
  </div>
</template>

<script>
    export default {
        name: "home-interest-card"
    }
</script>

<style scoped>
  .interest-act{
    width: 390px;
    height: 330px;
    background-color: white;
    border-radius: 10px;
    margin: 0 auto;
    margin-top: 15px;
    border: 1px;
    border-color: #d7d7d7;
    box-shadow: 0px 3px 3px rgb(240,240,240);
  }
  .interest-act img{
    width: 360px;
    height: 240px;
    border-radius: 10px;
    margin-left: 15px;
    margin-top: 10px;
  }
  .act-text{
    display: inline-block;
    text-align: center;
  }
  .act-name{
    color: #555555;
    font-size: 16px;
    font-weight: bold;
    margin-top: 8px;
    margin-bottom: 4px;
  }
  .time-lie{
    color: #7f7f7f;
    font-size: 12px;
    margin-top: 0;
    margin-bottom: 0;
  }
  .act-type{
    display: inline-block;
    text-align: center;
    margin-left: 40px;
    margin-top: 10px;
  }
  .type{
    display: inline-block;
    width: 40px;
    height: 20px;
    border-radius: 10px;
    border: 1px solid;
    border-color: #70B603;
    font-size: 9px;
    padding-top: 1px;
    margin-left: 3px;
  }
  .act-peo{
    color: #7f7f7f;
    font-size: 15px;
    margin-top: 10px;
  }
</style>
